import {
  AppstoreOutlined,
  MenuUnfoldOutlined,
  MenuFoldOutlined,
  PieChartOutlined,
  DesktopOutlined,
  ContainerOutlined,
  MailOutlined,
} from '@ant-design/icons';
export default [
  {
    key: 'dashboard',
    title: "Dashboard",
    children: [
      {
        key: '/introduce',
        title: '系统介绍',
        icon: AppstoreOutlined,
        role: ['user', 'admin', 'super'],
        // children: [
        //   {
        //     key: '/introduce/qq',
        //     title: '系统介绍234',
        //     icon: AppstoreOutlined,
        //     role: ['user', 'admin', 'super'],
        //   }
        // ]
      },
      {
        key: '/dashboard',
        title: 'Dashboard',
        icon: MenuUnfoldOutlined,
        role: ['user', 'admin', 'super']
      },
      {
        key: '/add',
        title: '添加商品',
        icon: MenuFoldOutlined,
        role: ['super']
      }
    ]
  },
  {
    key: 'homeset',
    title: "首页配置",
    children: [
      {
        key: '/swiper',
        title: "轮播图设置",
        icon: PieChartOutlined,
        role: ['admin', 'super']
      },
      {
        key: '/hot',
        title: "热销商品配置",
        icon: DesktopOutlined,
        role: ['admin', 'super']
      }
    ]
  },
  {
    key: 'moduleset',
    title: "模块设置",
    children: [
      {
        key: '/set123',
        title: "分类设置",
        icon: ContainerOutlined,
        role: ['user']
      }
    ]
  },
  {
    key: 'systermset',
    title: "系统设置",
    children: [
      {
        key: '/setpsw',
        title: "设置密码",
        icon: MailOutlined,
        role: ['super']
      }
    ]
  },
  // {
  //   key: '/systermset',
  //   title: "系统设置234",

  // }
]